<h2 class="paketi">Paket : {{packageName}}</h2>

<div id = "packagesLeft">
	<ul id = "contentsList">
		<li ng-repeat="content in contents" ng-click="selectContent(packageName, content, $index)" ><span class="listItem" id='content{{$index}}' >{{content}}</span></li>
	</ul>
</div>

<div id = "packagesRight">
	<div id = "tagForm">
		<div class="oneItemInfo"><p class="labelText">Zbirka:</p><select class="infoText" ng-model="selectedCorpus" ng-options="obj.id as obj.name for obj in allCorpus"/></div>
		<div class="oneItemInfo"><p class="labelText">Ime fajla:</p><p class="infoText">{{fileName}}</p></div>
		<div class="oneItemInfo"><p class="labelText">Paket: </p><p class="infoText">{{contentPath}}</p></div>
		<input id="tags" type="text" class="tags" ng-value="allTags" />
		<input type="button" value="Import" ng-click="importContent()">
	</div>
</div>

<script type="text/javascript">
$('#tags').tagsInput({
	width:'auto',
	autocomplete_url:'modules/tags/all_tags.php'
});
</script>